﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="Modify.aspx.cs" Inherits="Travel.Web.wb_advertisement.Modify" Title="修改页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td class="tdbg">
                
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
	<tr>
	<td height="25" width="30%" align="right" style="display:none;">
		内码
	：</td>
	<td height="25" width="*" align="left" style="display:none;">
		<asp:label id="lblid" runat="server"></asp:label>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		标题
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txttitle" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		广告位编号
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtadnum" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		图片
	：</td>
	<td height="25" width="*" align="left">
		<asp:FileUpload ID="uploadImage" runat="server" /><asp:Button ID="bt_upload" runat="server" onclick="bt_upload_Click" Text="上传..." Height="22px" Width="61px" />
	</td></tr>
    <tr>
    <td height="25" width="30%" align="right">
		图片预览
	：</td>
	<td height="25" width="*" align="left">
		 <img ID="txtpicpath" style="width:100px; height:100px;" runat="server" src=""/>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		链接地址
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtweburl" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		价值
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtcost" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		高
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtheight" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		宽
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtwidth" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		开始日期
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtstarttime" runat="server" Width="70px" ></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		结束日期
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtendTime" runat="server" Width="70px" ></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		广告形式
	：</td>
	<td height="25" width="*" align="left">
		<select  runat="server"  ID="txttype">
            <option title="图片" value="0">图片</option>
            <option title="Flash" value="1">Flash</option>
        </select>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		是否在用
	：</td>
	<td height="25" width="*" align="left">
		<select  runat="server"  ID="txtisuse">
            <option title="否" value="0">否</option>
            <option title="是" value="1">是</option>
        </select>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		备注
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtcomment" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" style="display:none;">
		JS
	：</td>
	<td height="25" width="*" align="left" style="display:none;">
		<asp:TextBox id="txtjs" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		创建时间
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtcreated_on" runat="server" Width="70px"  onfocus="setday(this)"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		创建人
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtcreated_by" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		最后一次修改时间
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox ID="txtchanged_on" runat="server" Width="70px"  onfocus="setday(this)"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		最后一次修改人
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtchanged_by" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
</table>

            </td>
        </tr>
        <tr>
            <td class="tdbg" align="center" valign="bottom">
                <asp:Button ID="btnSave" runat="server" Text="保存"
                    OnClick="btnSave_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'"></asp:Button>
                <asp:Button ID="btnCancle" runat="server" Text="取消"
                    OnClick="btnCancle_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'"></asp:Button>
            </td>
        </tr>
    </table>
<script type="text/javascript">
    $(document).ready(function () {
        $("#<%=txtstarttime.ClientID %>").datepicker({
            dateFormat: 'yy-mm-dd',
        });
        $("#<%=txtendTime.ClientID %>").datepicker({
            dateFormat: 'yy-mm-dd'
        });
    });
</script>
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>

